package eu.testing.system.models;

public class Answer {
	private String username;
	private int testId;
	private int questionId;
	private int id;
	private boolean truth;
	
	public Answer() {

	}

	public Answer(String username, int testId, int questionId, int id,
			boolean truth) {
		super();
		this.username = username;
		this.testId = testId;
		this.questionId = questionId;
		this.id = id;
		this.truth = truth;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getTestId() {
		return testId;
	}

	public void setTestId(int testId) {
		this.testId = testId;
	}

	public int getQuestionId() {
		return questionId;
	}

	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isTruth() {
		return truth;
	}

	public void setTruth(boolean truth) {
		this.truth = truth;
	}

	

}
